package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbUserTreasureBox;
import com.quanyan.user.model.db.TbUserTreasureBoxExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbUserTreasureBoxMapper {
    int countByExample(TbUserTreasureBoxExample example);

    int deleteByExample(TbUserTreasureBoxExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbUserTreasureBox record);

    int insertSelective(TbUserTreasureBox record);

    List<TbUserTreasureBox> selectByExample(TbUserTreasureBoxExample example);

    TbUserTreasureBox selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbUserTreasureBox record, @Param("example") TbUserTreasureBoxExample example);

    int updateByExample(@Param("record") TbUserTreasureBox record, @Param("example") TbUserTreasureBoxExample example);

    int updateByPrimaryKeySelective(TbUserTreasureBox record);

    int updateByPrimaryKey(TbUserTreasureBox record);
}